\begin{lstlisting}
public T getXxx() { /* implementace */ }
public void setXxx(T value) { /* implementace */ }
\end{lstlisting}